package com.gateway.order.feign;


import com.alibaba.fastjson.JSONObject;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;

@Component
public class UserServiceErrorHandler implements IUserService {
    @Override
    public String getPort () {
        JSONObject obj = new JSONObject();
        obj.put("msg","call failed");
        obj.put("code","500");
        return obj.toJSONString();
    }

}
